.class Lcom/estrongs/android/ui/view/f$c;
.super Landroid/os/AsyncTask;
.source "FileChecksumViewWrapper.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/ui/view/f;->m()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Landroid/os/AsyncTask<",
        "Ljava/lang/Void;",
        "Ljava/lang/Void;",
        "Ljava/lang/Void;",
        ">;"
    }
.end annotation


# instance fields
.field protected a:Lcom/estrongs/fs/util/f$a;

.field protected b:Lcom/estrongs/fs/util/f$a;

.field private c:Ljava/lang/Exception;

.field protected d:Les/a90;

.field final synthetic e:Lcom/estrongs/android/ui/view/f;


# direct methods
.method constructor <init>(Lcom/estrongs/android/ui/view/f;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/ui/view/f$c;->e:Lcom/estrongs/android/ui/view/f;

    invoke-direct {p0}, Landroid/os/AsyncTask;-><init>()V

    const/4 p1, 0x0

    .line 2
    iput-object p1, p0, Lcom/estrongs/android/ui/view/f$c;->a:Lcom/estrongs/fs/util/f$a;

    .line 3
    iput-object p1, p0, Lcom/estrongs/android/ui/view/f$c;->b:Lcom/estrongs/fs/util/f$a;

    .line 4
    iput-object p1, p0, Lcom/estrongs/android/ui/view/f$c;->c:Ljava/lang/Exception;

    .line 5
    new-instance p1, Lcom/estrongs/android/ui/view/f$c$a;

    invoke-direct {p1, p0}, Lcom/estrongs/android/ui/view/f$c$a;-><init>(Lcom/estrongs/android/ui/view/f$c;)V

    iput-object p1, p0, Lcom/estrongs/android/ui/view/f$c;->d:Les/a90;

    return-void
.end method


# virtual methods
.method protected a(Ljava/lang/String;)Lcom/estrongs/fs/util/f$a;
    .locals 1

    .line 22
    :try_start_0
    new-instance v0, Lcom/estrongs/fs/util/f$b;

    invoke-direct {v0, p1}, Lcom/estrongs/fs/util/f$b;-><init>(Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/security/NoSuchAlgorithmException; {:try_start_0 .. :try_end_0} :catch_0

    return-object v0

    :catch_0
    move-exception p1

    .line 23
    invoke-virtual {p1}, Ljava/security/NoSuchAlgorithmException;->printStackTrace()V

    const/4 p1, 0x0

    return-object p1
.end method

.method protected varargs a([Ljava/lang/Void;)Ljava/lang/Void;
    .locals 2

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/ui/view/f$c;->e:Lcom/estrongs/android/ui/view/f;

    iget-object p1, p1, Lcom/estrongs/android/ui/view/f;->l:Ljava/lang/String;

    if-nez p1, :cond_0

    const-string p1, "MD5"

    .line 2
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/view/f$c;->a(Ljava/lang/String;)Lcom/estrongs/fs/util/f$a;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/ui/view/f$c;->a:Lcom/estrongs/fs/util/f$a;

    .line 3
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/ui/view/f$c;->e:Lcom/estrongs/android/ui/view/f;

    iget-object p1, p1, Lcom/estrongs/android/ui/view/f;->m:Ljava/lang/String;

    if-nez p1, :cond_1

    const-string p1, "SHA-1"

    .line 4
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/view/f$c;->a(Ljava/lang/String;)Lcom/estrongs/fs/util/f$a;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/ui/view/f$c;->b:Lcom/estrongs/fs/util/f$a;

    .line 5
    :cond_1
    new-instance p1, Lcom/estrongs/android/ui/view/f$c$b;

    invoke-direct {p1, p0}, Lcom/estrongs/android/ui/view/f$c$b;-><init>(Lcom/estrongs/android/ui/view/f$c;)V

    .line 6
    :try_start_0
    iget-object v0, p0, Lcom/estrongs/android/ui/view/f$c;->e:Lcom/estrongs/android/ui/view/f;

    iget-object v0, v0, Lcom/estrongs/android/ui/view/f;->g:Ljava/lang/String;

    iget-object v1, p0, Lcom/estrongs/android/ui/view/f$c;->d:Les/a90;

    invoke-static {v0, v1, p1}, Lcom/estrongs/fs/util/f;->a(Ljava/lang/String;Les/a90;Lcom/estrongs/fs/util/f$a;)V
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 7
    iput-object p1, p0, Lcom/estrongs/android/ui/view/f$c;->c:Ljava/lang/Exception;

    .line 8
    invoke-virtual {p1}, Ljava/io/IOException;->printStackTrace()V

    .line 9
    :goto_0
    iget-object p1, p0, Lcom/estrongs/android/ui/view/f$c;->a:Lcom/estrongs/fs/util/f$a;

    if-eqz p1, :cond_2

    .line 10
    iget-object v0, p0, Lcom/estrongs/android/ui/view/f$c;->e:Lcom/estrongs/android/ui/view/f;

    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    iput-object p1, v0, Lcom/estrongs/android/ui/view/f;->l:Ljava/lang/String;

    .line 11
    :cond_2
    iget-object p1, p0, Lcom/estrongs/android/ui/view/f$c;->b:Lcom/estrongs/fs/util/f$a;

    if-eqz p1, :cond_3

    .line 12
    iget-object v0, p0, Lcom/estrongs/android/ui/view/f$c;->e:Lcom/estrongs/android/ui/view/f;

    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    iput-object p1, v0, Lcom/estrongs/android/ui/view/f;->m:Ljava/lang/String;

    :cond_3
    const/4 p1, 0x0

    return-object p1
.end method

.method protected a(Ljava/lang/Void;)V
    .locals 2

    .line 13
    iget-object p1, p0, Lcom/estrongs/android/ui/view/f$c;->c:Ljava/lang/Exception;

    if-eqz p1, :cond_0

    .line 14
    iget-object p1, p0, Lcom/estrongs/android/ui/view/f$c;->e:Lcom/estrongs/android/ui/view/f;

    iget-object v0, p1, Lcom/estrongs/android/ui/view/f;->e:Landroid/widget/TextView;

    const v1, 0x7f1101e1

    invoke-static {p1, v1}, Lcom/estrongs/android/ui/view/f;->c(Lcom/estrongs/android/ui/view/f;I)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 15
    iget-object p1, p0, Lcom/estrongs/android/ui/view/f$c;->e:Lcom/estrongs/android/ui/view/f;

    iget-object v0, p1, Lcom/estrongs/android/ui/view/f;->f:Landroid/widget/TextView;

    invoke-static {p1, v1}, Lcom/estrongs/android/ui/view/f;->d(Lcom/estrongs/android/ui/view/f;I)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    .line 16
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/ui/view/f$c;->e:Lcom/estrongs/android/ui/view/f;

    iget-object v0, p1, Lcom/estrongs/android/ui/view/f;->l:Ljava/lang/String;

    const/4 v1, 0x1

    if-eqz v0, :cond_1

    .line 17
    iget-object p1, p1, Lcom/estrongs/android/ui/view/f;->e:Landroid/widget/TextView;

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 18
    iget-object p1, p0, Lcom/estrongs/android/ui/view/f$c;->e:Lcom/estrongs/android/ui/view/f;

    iget-object p1, p1, Lcom/estrongs/android/ui/view/f;->j:Landroid/view/View;

    invoke-virtual {p1, v1}, Landroid/view/View;->setEnabled(Z)V

    .line 19
    :cond_1
    iget-object p1, p0, Lcom/estrongs/android/ui/view/f$c;->e:Lcom/estrongs/android/ui/view/f;

    iget-object v0, p1, Lcom/estrongs/android/ui/view/f;->m:Ljava/lang/String;

    if-eqz v0, :cond_2

    .line 20
    iget-object p1, p1, Lcom/estrongs/android/ui/view/f;->f:Landroid/widget/TextView;

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 21
    iget-object p1, p0, Lcom/estrongs/android/ui/view/f$c;->e:Lcom/estrongs/android/ui/view/f;

    iget-object p1, p1, Lcom/estrongs/android/ui/view/f;->k:Landroid/view/View;

    invoke-virtual {p1, v1}, Landroid/view/View;->setEnabled(Z)V

    :cond_2
    :goto_0
    return-void
.end method

.method protected bridge synthetic doInBackground([Ljava/lang/Object;)Ljava/lang/Object;
    .locals 0

    .line 1
    check-cast p1, [Ljava/lang/Void;

    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/view/f$c;->a([Ljava/lang/Void;)Ljava/lang/Void;

    move-result-object p1

    return-object p1
.end method

.method protected bridge synthetic onPostExecute(Ljava/lang/Object;)V
    .locals 0

    .line 1
    check-cast p1, Ljava/lang/Void;

    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/view/f$c;->a(Ljava/lang/Void;)V

    return-void
.end method

.method protected onPreExecute()V
    .locals 3

    const/4 v0, 0x0

    .line 1
    iput-object v0, p0, Lcom/estrongs/android/ui/view/f$c;->c:Ljava/lang/Exception;

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/view/f$c;->e:Lcom/estrongs/android/ui/view/f;

    iget-object v1, v0, Lcom/estrongs/android/ui/view/f;->l:Ljava/lang/String;

    const v2, 0x7f11069a

    if-nez v1, :cond_0

    .line 3
    iget-object v0, v0, Lcom/estrongs/android/ui/view/f;->e:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(I)V

    .line 4
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/ui/view/f$c;->e:Lcom/estrongs/android/ui/view/f;

    iget-object v1, v0, Lcom/estrongs/android/ui/view/f;->m:Ljava/lang/String;

    if-nez v1, :cond_1

    .line 5
    iget-object v0, v0, Lcom/estrongs/android/ui/view/f;->f:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(I)V

    :cond_1
    return-void
.end method
